package co.laomag.coffee.dao.admins;

import co.laomag.coffee.model.entity.AdRoleMenu;

import java.util.List;

public interface AdRoleMenuDao {
    int deleteByPrimaryKey(Integer roleMenuId);

    int insert(AdRoleMenu record);

    int insertSelective(AdRoleMenu record);

    AdRoleMenu selectByPrimaryKey(Integer roleMenuId);

    int updateByPrimaryKeySelective(AdRoleMenu record);

    int updateByPrimaryKey(AdRoleMenu record);

    List<AdRoleMenu> selectByRoleId(Integer roleId);
}